home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / l / GNUmakefile
Makefile  |  1994-04-05  |  3KB  |  86 lines

  1. # $Id: GNUmakefile,v 1.6 1994/04/05 16:46:34 too Exp $
  2. #
  3. # GNUmakefile for AmiTCP/IP device handlers
  4. #
  5. # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  6. #                  Helsinki University of Technology, Finland.
  7. #                  All rights reserved.
  8. #
  9. # Created      : Wed Nov 17 14:31:11 1993 too (original: ppessi)
  10. # Last modified: Tue Apr  5 19:46:05 1994 too
  11. #
  12. # $Log: GNUmakefile,v $
  13. # Revision 1.6  1994/04/05  16:46:34  too
  14. # Removed inet-handler/inet-handler.h and .../inet-handler.rev
  15. #
  16. # Revision 1.5  1993/11/27  14:28:59  too
  17. # Added new target LHA to make easily downloadable archive for inet-handler
  18. # sources
  19. #
  20. # Revision 1.4  1993/11/27  14:16:39  too
  21. # fixed release macros
  22. #
  23. # Revision 1.3  1993/11/19  13:35:11  too
  24. # Removed timer.h (now obsolete) from distribution
  25. #
  26. # Revision 1.2  1993/11/17  13:45:43  too
  27. # Some macro name fixes after first test I could make
  28. #
  29. # Revision 1.1  1993/11/17  12:47:39  too
  30. # Initial revision
  31. #
  32.  
  33. DIST_L = $(DIST)/l
  34.  
  35. GENERIC = GNUmakefile
  36. #
  37. # inet-handler compiled with gcc
  38. #
  39.  
  40. INETHANDLER =    inet-handler/Makefile inet-handler/applport.c \
  41.         inet-handler/applport.h inet-handler/args.c \
  42.         inet-handler/args.h inet-handler/c.c \
  43.         inet-handler/c.h inet-handler/cleanup.c \
  44.         inet-handler/cleanup.h inet-handler/debug.h \
  45.         inet-handler/dirindex.h inet-handler/global.h \
  46.         inet-handler/handler.c inet-handler/handler.h \
  47.         inet-handler/handler/begin.c \
  48.         inet-handler/handler/startup.c \
  49.         inet-handler/handler/pendingwrites.c \
  50.         inet-handler/handler/readevent.c \
  51.         inet-handler/handler/applmsg.c \
  52.         inet-handler/handler/timermsg.c \
  53.         inet-handler/handler/mymsg.c \
  54.         inet-handler/handler/cleanup.c \
  55.         inet-handler/inet-handler.c inet-handler/inl_dos.h \
  56.         inet-handler/inl_exec.h inet-handler/inl_socket.h \
  57.         inet-handler/interrupt.c inet-handler/interrupt.h \
  58.         inet-handler/muldiv.h inet-handler/readargs.c \
  59.         inet-handler/readargs.h inet-handler/runstart.c \
  60.         inet-handler/runstart.h inet-handler/system_includes.h \
  61.         inet-handler/socketbase_in_context.h \
  62.         inet-handler/util.c inet-handler/util.h
  63.  
  64. LSRC = $(GENERIC) $(INETHANDLER)
  65.  
  66. LHA: $(LSRC)
  67.     lha a inet-handler.lha $(LSRC)
  68.  
  69. DIST: $(LSRC)
  70.     test -d $(DIST) || mkdir $(DIST) 
  71.     test -d $(DIST_L) || mkdir $(DIST_L)
  72.     tar cf - $(LSRC) | (cd $(DIST_L); tar xf -)
  73.  
  74. RELEASE: $(LSRC)
  75.     for F in $(LSRC) ; do \
  76.       rlog -R $$F && { \
  77.         if ident -q $$F | fgrep '$$Id' >/dev/null ; \
  78.           then rcs -q '-N$(RELEASE):$$' $$F ; \
  79.           else rcs -q '-N$(RELEASE):' $$F ;\
  80.         fi ; \
  81.           } ;\
  82.     done
  83.  
  84.  
  85.  
  86.